/**
 * @Title: JVMVO.java
 * @Package: com.itic.appbase.applications.monitor.vo
 * @author: idong
 * @date: May 22, 2015 4:12:35 PM
 * @version: V1.0
 */

package com.itic.appbase.applications.monitor.vo;

/**
 * <p>
 * Company: itic
 * </p>
 * 
 * @author: idong
 * @date: May 22, 2015 4:12:35 PM
 * @version: V1.0
 */
public class JVMInfo {
    private String nonheapTotal;
    private String nonheapUsed;
    private String nonheapMax;
    private String heapTotal;
    private String heapUsed;
    private String heapMax;

    /**
     * @Title: JVMInfo
     * @param
     * @throws
     */

    public JVMInfo() {
        super();
    }

    /**
     * @Title: JVMInfo
     * @param nonheapTotal
     * @param nonheapUsed
     * @param nonheapMax
     * @param heapTotal
     * @param heapUsed
     * @param heapMax
     * @throws
     */

    public JVMInfo(String def) {
        super();
        this.nonheapTotal = def;
        this.nonheapUsed = def;
        this.nonheapMax = def;
        this.heapTotal = def;
        this.heapUsed = def;
        this.heapMax = def;
    }

    /**
     * @return the nonheapTotal
     */
    public String getNonheapTotal() {
        return nonheapTotal;
    }

    /**
     * @param nonheapTotal
     *            the nonheapTotal to set
     */
    public void setNonheapTotal(String nonheapTotal) {
        this.nonheapTotal = nonheapTotal;
    }

    /**
     * @return the nonheapUsed
     */
    public String getNonheapUsed() {
        return nonheapUsed;
    }

    /**
     * @param nonheapUsed
     *            the nonheapUsed to set
     */
    public void setNonheapUsed(String nonheapUsed) {
        this.nonheapUsed = nonheapUsed;
    }

    /**
     * @return the nonheapMax
     */
    public String getNonheapMax() {
        return nonheapMax;
    }

    /**
     * @param nonheapMax
     *            the nonheapMax to set
     */
    public void setNonheapMax(String nonheapMax) {
        this.nonheapMax = nonheapMax;
    }

    /**
     * @return the heapTotal
     */
    public String getHeapTotal() {
        return heapTotal;
    }

    /**
     * @param heapTotal
     *            the heapTotal to set
     */
    public void setHeapTotal(String heapTotal) {
        this.heapTotal = heapTotal;
    }

    /**
     * @return the heapUsed
     */
    public String getHeapUsed() {
        return heapUsed;
    }

    /**
     * @param heapUsed
     *            the heapUsed to set
     */
    public void setHeapUsed(String heapUsed) {
        this.heapUsed = heapUsed;
    }

    /**
     * @return the heapMax
     */
    public String getHeapMax() {
        return heapMax;
    }

    /**
     * @param heapMax
     *            the heapMax to set
     */
    public void setHeapMax(String heapMax) {
        this.heapMax = heapMax;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "JVMInfo [nonheapTotal=" + nonheapTotal + ", nonheapUsed=" + nonheapUsed + ", nonheapMax=" + nonheapMax
                + ", heapTotal=" + heapTotal + ", heapUsed=" + heapUsed + ", heapMax=" + heapMax + "]";
    }

}
